package cn.edu.scau.cmi.chenjia.singleton;

public class ChairMan {
		private static ChairMan instance;
		private String name;
		private ChairMan(String name) {
			this.name=name;
		}
		public static ChairMan getInstance(String name) {
			if(instance==null&&!name.equals(null)) 
				instance=new ChairMan(name);
			return instance;
		}
}
